﻿@using Constants = Smalt.MVC.Constants;
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Smalt | @ViewBag.Title</title>
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")

</head>
<body>
    <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                    @* Home Link *@
                    @Html.ActionLink(
                        "Smalt",
                        Constants.Controllers.Home.Actions.Index,
                        Constants.Controllers.Home.Name,
                        null,
                        new { @class = "navbar-brand" })
                </div>
            <div class="navbar-collapse collapse">
                <ul class="nav navbar-nav">
                    @* Navigation *@
                    <li>
                    @Html.ActionLink(
                        "About",
                        Constants.Controllers.Home.Actions.About,
                        Constants.Controllers.Home.Name)
                    </li>
                    <li>
                    @Html.ActionLink(
                        "Contact",
                        Constants.Controllers.Home.Actions.Contact,
                        Constants.Controllers.Home.Name)
                    </li>
                </ul>
                @Html.Partial("_LoginPartial")
            </div>
        </div>
    </div>
    <div class="container body-content">
        @RenderBody()
        <hr />
        <footer>
            <p>&copy; @DateTime.Now.Year - Smalt</p>
        </footer>
    </div>

    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/bootstrap")
    @RenderSection("scripts", required: false)
</body>
</html>
